import App from './App'
import store from './store'
import { domain } from '@/common/index.js'
// 百度地图 调用百度
// import BaiduMap from 'vue-baidu-map'
// Vue.use(BaiduMap, {
//   // ak 是在百度地图开发者平台申请的密钥 详见 http://lbsyun.baidu.com/apiconsole/key */
//   ak: 'oUVy423GQyY5HNllPNEuP67m6fBIadQy' 
// })

Vue.prototype.$url = domain;

import {
	$Toast
} from "@/common/utils.js";


Vue.prototype.$Toast = $Toast

// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	store,
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif